package com.example.shonm.loginbigear;

import android.os.Bundle;
import android.support.v7.app.ActionBarActivity;
import android.webkit.WebView;
import android.widget.Toast;

public class Main2Activity extends ActionBarActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main2);

        String strId = getIntent().getStringExtra("MemId");
        WebView webview = (WebView)findViewById(R.id.web_view);
        Toast.makeText(this, strId, Toast.LENGTH_LONG).show();
        String strUrl = "http://www.bigear.cn/member-" + strId + ".html";
        webview.loadUrl(strUrl);
    }

}
